package com.stm.bi.dto.vo;

import com.stm.framework.annotation.ResParam;

public class ValueVO<T> {

    @ResParam(label = "ID")
    private Long id;

    @ResParam(label = "编码")
    private String code;

    @ResParam(label = "名称")
    private String name;

    @ResParam(label = "标签")
    private String label;

    @ResParam(label = "值")
    private T value;

    public Long getId() {
        return id;
    }

    public ValueVO<T> setId(Long id) {
        this.id = id;
        return this;
    }

    public String getCode() {
        return code;
    }

    public ValueVO<T> setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public ValueVO<T> setName(String name) {
        this.name = name;
        return this;
    }

    public String getLabel() {
        return label;
    }

    public ValueVO<T> setLabel(String label) {
        this.label = label;
        return this;
    }

    public T getValue() {
        return value;
    }

    public ValueVO<T> setValue(T value) {
        this.value = value;
        return this;
    }

}
